#ifndef GLOBAL_OPTIONS_PANEL_H
#define GLOBAL_OPTIONS_PANEL_H

#include <QWidget>
#include <QtGui>
#include <QObject>
#include <iostream>

#include "defines/global.h"

class GlobalOptionsPanel : public QWidget {
        Q_OBJECT

    public:
        GlobalOptionsPanel(QWidget * = 0);
        ~GlobalOptionsPanel(){};

        int getAdjacency() {return adjacency;};
        double getGravity() {return gravity;};
        double getDeltaT() {return deltaT;};

    signals:
        void updateAdjacency();
        void updateGravity();
        void updateDeltaT();

    private slots:
        void changeAdjacency(int _a) {adjacency = _a; emit updateAdjacency();};
        void changeGravity(double _g) {gravity = _g; emit updateGravity();};
        void changeDeltaT(double _deltaT) {deltaT = _deltaT; emit updateDeltaT();};

    private:
        int adjacency;
        double gravity, deltaT;
};

#endif

